﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DisplayOpenHours.aspx.cs" Inherits="DisplayOpenHours" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Listi yfir opnunartíma</title>
    <link href="main.css" type="text/css" rel="Stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
         <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                            ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                            onclick="_ibmHomePage_Click" />
                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                             Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">
                    
                    </td>
                </tr>
             </table>
                                
		 </div>
		 <!-- End Header -->
		 
		 <!-- Begin subHeader -->
		 <div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
		 
		 <table   style="width:100%;">
		    <tr>
		        <td> 
                    <asp:Image ID="_imgConfirm" runat="server" Height="24px" ImageAlign="Right" 
                    ImageUrl="~/Myndir/notaconfirm.JPG" Width="29px" />           
                    <asp:Label ID="_lblLogin" runat="server"  ForeColor="White" Text="Innskráning - " Font-Bold="false"></asp:Label>
                    <asp:LinkButton ID="_lbtnCompanyBooking" runat="server" Font-Underline="false" ForeColor="White" 
                    onclick="_lbtnCompanyBooking_Click">Heimasvæði - </asp:LinkButton> 
                    <asp:Label ID="_lblOpenHours" runat="server"  ForeColor="White" Text="Opnunartími" Font-Bold="true"></asp:Label>     
		        </td>
            </tr>	         
        </table>		 
        </div>

		 <!-- End subHeader -->
		 
		 <!-- Begin Left Column -->
		 <div id="leftcolumn"             
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
		 <table   style="width:100%;">
		    <tr>
		        <td> 
                   <asp:LinkButton ID="_lbtnCompanyBooking1" runat="server" ForeColor="White" 
                   onclick="_lbtnCompanyBooking_Click">Heimasvæði</asp:LinkButton>      
		        </td>
            </tr>
                    
		    <tr>
		        <td> 
                    &nbsp;</td>
            </tr>	         
		    <tr>
		        <td> 
                    <asp:LinkButton ID="_lbtnConfig" runat="server" ForeColor="White" 
                        onclick="_lbtnConfig_Click1">Stillingar</asp:LinkButton>
                </td>
            </tr>	         
        </table>       
        </div>
		 <!-- End Left Column -->
		 
		 <!-- Begin Right Column -->
		 <div id="rightcolumn">
		 <table>
		    <tr>
		        <td> 
                   <asp:Label ID="_lblOpenTime" runat="server"  ForeColor="Black" Text="Opnunartími" 
                    Font-Bold="True"></asp:Label>     
		        </td>
            </tr>
             <tr>
		        <td> 
                  <asp:GridView ID="_dtgDisplayOpenHours" runat="server" 
                    AutoGenerateColumns="False"  CellPadding="4" ForeColor="#333333" 
                    GridLines="None" Width="299px">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
                    <Columns>
                      <asp:BoundField DataField="Name"   HeaderStyle-HorizontalAlign="Left" HeaderText="Opnunartími"  
                      >
                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                        </asp:BoundField>
                      <asp:BoundField DataField="FromTime" HeaderStyle-HorizontalAlign="Center" HeaderText="Opnun"  
                      >
                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                        </asp:BoundField>
                      <asp:BoundField DataField="ToTime" HeaderStyle-HorizontalAlign="Center" HeaderText="Lokun" 
                      >
                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                        </asp:BoundField>
                    </Columns>
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#0000cd" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" HorizontalAlign="Center" />
                  </asp:GridView>         
		        </td>
            </tr>	         
             <tr>
		        <td align="right"> 
                    <asp:Button ID="_btnOpenHours" runat="server" onclick="_btnOpenHours_Click" 
                        Text="Skrá opnunartíma" />
		        </td>
            </tr>	         
        </table>		     
         </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		    <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    
    
    </div>
    </form>
</body>
</html>
